package com.pattern.once.clainOfResponsbility.builder;

import com.pattern.once.clainOfResponsbility.AbstractClainLogger;


public class LogBuilder1 extends LogBuilder {

    @Override
    public AbstractClainLogger getLoggerCHain() {
        super.dubugLogger.setNextClainLogger(super.infoLogger);
        super.infoLogger.setNextClainLogger(super.warnLogger);
        super.warnLogger.setNextClainLogger(super.errorLogger);
        return super.dubugLogger;
    }
}
